package com.fingard.dsp.bank.reqrespobj.retailMsg;

import com.fingard.xml.XElement;

public class ReqRetailMsgQryDetail {
	//接入机构号
    public String CHANNEL_CODE="";
    //零售订单号
    public String RetailNo="";
    //品牌
    public String BrandCode="";
    //经销商代码
    public String DealerCode="";
    //经销商名称
    public String DealerName="";
    //零售数量
    public String RetailNum="";
//    //零售发票日期
    public String RetailInvoiceDate="";
    //零售发票号码
    public String RetailInvoiceNo="";
    //车架号
    public String VIN="";
    //合格证号
    public String CertificationNo="";
    //合格证状态 0.已签收 1.在库 2.已实销
    public String CerTificationStatus="";
    //发动机号
    public String EngineNo="";
    //出厂日期
    public String CarMakeDate="";
    //单位
    public String GoodsUnit="";
    //实销价格
    public String SalePrice="";
    //实销日期 yyyy-mm-dd
    public String RetailTime="";
    //经销商零售数据汇总
    public String TotalSellInfo="";
    //经销商库存数据汇总
    public String TotalStockInfo="";  
    //预留字段1
    public String Reserve1="";
    //预留字段2
    public String Reserve2="";
    //预留字段3
    public String Reserve3="";
    
    public ReqRetailMsgQryDetail() {
    	
    }
    public ReqRetailMsgQryDetail(XElement p_xelement) throws Exception {
    	
    	RetailNo = p_xelement.getSingleText("RetailNo");
    	BrandCode = p_xelement.getSingleText("BrandCode");
        DealerCode = p_xelement.getSingleText("DealerCode");
        DealerName = p_xelement.getSingleText("DealerName");
        RetailNum = p_xelement.getSingleText("RetailNum");
        RetailInvoiceDate = p_xelement.getSingleText("RetailInvoiceDate");
        RetailInvoiceNo = p_xelement.getSingleText("RetailInvoiceNo");        
        CerTificationStatus = p_xelement.getSingleText("CerTificationStatus");
        VIN = p_xelement.getSingleText("VIN");
        CertificationNo = p_xelement.getSingleText("CertificationNo");
        EngineNo = p_xelement.getSingleText("EngineNo");
        CarMakeDate = p_xelement.getSingleText("CarMakeDate");
        GoodsUnit = p_xelement.getSingleText("GoodsUnit");
        SalePrice = p_xelement.getSingleText("SalePrice");
        RetailTime = p_xelement.getSingleText("RetailInvoiceDate");
        TotalSellInfo = p_xelement.getSingleText("TotalSellInfo");
        TotalStockInfo = p_xelement.getSingleText("TotalStockInfo");
        Reserve1 = p_xelement.getSingleText("Reserve1");
        Reserve2 = p_xelement.getSingleText("Reserve2");
        Reserve3 = p_xelement.getSingleText("Reserve3");
    	
    }
}
